package com.huaxinkai.mobile.util.wechatUtil.bean;

import java.util.List;

/**
 * 微信响应的图文消息
 * 
 * @author liuzh
 * 
 */
public class WeChatResNewsMessage extends WeChatResBaseMessage {
	// 图文消息个数，限制为10条以内
	private int ArticleCount;
	// 多条图文消息信息，默认第一个item为大图
	private List<Article> Articles;

	public int getArticleCount() {
		return ArticleCount;
	}

	public void setArticleCount(int articleCount) {
		ArticleCount = articleCount;
	}

	public List<Article> getArticles() {
		return Articles;
	}

	public void setArticles(List<Article> articles) {
		Articles = articles;
	}

	public WeChatResNewsMessage() {
		
	}

	public WeChatResNewsMessage(String toUserName, String fromUserName, int articleCount, List<Article> articles) {
		super(toUserName, fromUserName);
		this.ArticleCount = articleCount;
		this.Articles = articles;
		this.MsgType = "news";
	}

	@Override
	public String toString() {
		return "WeChatResNewsMessage [ArticleCount=" + ArticleCount + ", Articles=" + Articles + "]";
	}

}
